package org.kongqian.productmanager.domain;

import java.math.BigDecimal;
import java.util.Date;
import org.kongqian.basic.domain.BaseDomain;

/**
 * <p>
 * 
 * </p>
 *
 * @author kq
 * @since 2022-10-21
 */
public class ProductType extends BaseDomain{

    private static final long serialVersionUID = 1L;

    private String name;
    private String description;
    private ProductType parent;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public ProductType getParent() {
        return parent;
    }

    public void setParent(ProductType parent) {
        this.parent = parent;
    }

    @Override
    public String toString() {
        return "ProductType{" +
                "name='" + name + '\'' +
                ", description='" + description + '\'' +
                ", parent=" + parent +
                '}';
    }
}
